/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package reportcenter.support.features;

/**
 *
 * @author renan
 */
public class AnswerTransform implements TransformBehavior {
    

    public Object perform(Object valueToTransform) {
        return valueToTransform;
    }

    public Object perform(Object value1, Object value2) {
        if (value2.toString().equalsIgnoreCase(java.util.Date.class.getName())) {
            value1 = value1 + " (ex: 12/09/2008)";
        }
        return value1;
    }
}
